
SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------
-- Table structure for `${tableName}`
-- ----------------------------
DROP TABLE IF EXISTS `${tableName}`;
CREATE TABLE `${tableName}` (
 		`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
	<#list fieldList as var>
		<#if var[2] == 'Integer'>
		`${var[0]}` int(11) DEFAULT NULL COMMENT '${var[1]}',
		<#else>
		`${var[0]}` varchar(255) DEFAULT NULL COMMENT '${var[1]}',
		</#if>
	</#list>
  		PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
